On Time Complexity of Distributed Algorithms for Generalized Deadlock Detection

نویسنده

  • Jerzy Brzezinski
چکیده

Deadlock detection in distributed asynchronous systems such as distributed database systems, computer networks, massively parallel systems etc. is peculiarly subtle and complex. This is because asynchronous systems are characterized by the lack of global memory and a common physical clock, as well as by the absence of known bounds on relative processor speeds and transmission delays. These difficulties imply also problems with performance analysis of distributed algorithms for deadlock detection. This paper deals with worst-case one-time complexity analysis of two well known distributed algorithms for generalized deadlock detection. The time complexity is expressed as a function of the diameter d and the longest path l of the wait-for-graph (WFG) characterizing a state of distributed system. First, the algorithm proposed by Bracha and Toueg is considered. It is shown that its time complexity is of 2d+2l. Then, we prove that the time complexity of Kshemkalyani and Singhal algorithm is of (d+ 1) + l.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient algorithms for detection and resolution of distributed deadlocks

We present a simple and efficient distributed algorithm for detecting generalized-deadlocks in distributed systems. Unlike previous algorithms, which are all based on the idea of distributed snapshot, and require multiple rounds of message transfers along the edges of the global wait-€or graph (WFG), the proposed algorithm uses a novel approach that incrementally constructs an “image” of the WF...

متن کامل

Survey of Deadlock Detection in Distributed Concurrent Programming Environments and Its Application to Real-time Systems and Ada Invited Paper

Deadlock is one of the most serious problems in multitasking concurrent programming systems. The deadlock problem becomes further complicated when the underlying system is distributed and when tasks have timing constraints. Distributed deadlock detection has been studied to some extent in distributed database systems and distributed timesharing operating systems but has not been widely used in ...

متن کامل

Deadlock Detection in Distributed Real-time Systems and Its Application to Ada Environments Csi Invited Paper

Deadlock is one of the most serious problems in multitasking concurrent programming systems. The deadlock problem becomes further complicated when the underlying system is distributed and when tasks have timing constraints. Distributed deadlock detection has been studied to some extent in distributed database systems and distributed timesharing operating systems, but has not been widely used in...

متن کامل

Towards Efficient Algorithms for Deadlock Detection and Resolution in Distributed Systems

Deadlock detection algorithms for distributed systems have been studied thoroughly for many years. However, many of them either are incorrect or too expensive in terms of time and/or space Complexity. One problem with previous work is that deadlock resolution is often overlooked. Another problem is the insufficient attention given to the characteristics of the wait-for model that is employed. T...

متن کامل

Optimal Deadlock Detection in Distributed Systems Based on Locally Constructed Wait-for Graphs - Distributed Computing Systems, 1996., Proceedings of the 16th International Conference on

We present a new algorithm for detecting generalized deadlocks in distributed systems. Our algorithm incrementally constructs and reduces a wait-for graph (WFG) at an initiator process. This WFG is then searched for deadlock. The proposed algorithm has two primary advantages: First, it avoids sending messages along the edges of the global wait-for graph (WFG), thereby achieving a worst-case mes...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997